﻿using System;

using System.Collections.Generic;
using System.Text;
using Silvermoon.Controls;
using System.Drawing;
using Silvermoon.Shapes;

namespace Silvermoon.Windows.Styles
{
    public class MetroTextBoxStyle : StyleBase
    {
        public override void Apply(Control c)
        {
            TextBox textBox = (TextBox)c;
            if (textBox.Background == null) textBox.Background = PhoneColors.White;
            if (textBox.Chrome == null) textBox.Chrome = new BorderShape { Color = Color.Black, BorderSize = 2 };

        }
    }
}
